﻿using MathTutorPro.Models.Requests;
using MathTutorPro.Models.Responses;
using static MathTutorPro.Controllers.ClassDetailController;

namespace MathTutorPro.Services.Interfaces
{
    public interface IClassDetailService
    {
        Task<IEnumerable<StudentResponse>> GetClassStudentsAsync(int classId, string teacherId, string keyword = null);
        Task<string> AddStudentAsync(int classId, string teacherId, StudentCreateRequest dto);
        Task<StudentResponse> GetStudentAsync(int classId, string teacherId, string studentId);

        Task UpdateStudentAsync(int classId, string teacherId, string studentId, StudentUpdateRequest dto);
        Task ImportStudentsAsync(int classId, string teacherId, IFormFile file);
    }
}
